import {
    BrowserRouter
} from 'react-router-dom'
import RouterView from './RouterView'
import Page from './page'


// function Router() {
//     return <BrowserRouter>
//         <RouterView routes={Page} />
//     </BrowserRouter>
// }

// export default Router

import React, { Component } from 'react'

export default class index extends Component {
    render() {
        return (
            <BrowserRouter>
                <RouterView routes={Page}></RouterView>
            </BrowserRouter>
        )
    }
}
